<template>
  <v-app class="bg-blue-grey-darken-1">
    Sidebar Campaign
    <br />
    {{ po.state?.name }} - {{ po.state?.age }}
  </v-app>
</template>

<script lang="ts" setup>
import { useSystemStateListener } from '@/composables/useSystemStateListener'
import { createRuntimeState } from 'global-state'
// 启动系统状态监听器
useSystemStateListener()

const po = createRuntimeState('test', { name: 'test', age: 19 })

// @ts-ignore
window.po = po
</script>
